﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;

    public class AuthModule : IHttpModule
    {
        #region Implementation of IHttpModule

        private static int xpto;
        public void Init(HttpApplication context)
        {
            context.PostAuthenticateRequest += (e, o) =>
                                                   {
                                                       Interlocked.Increment(ref xpto);
                                                   };
        }

        public void Dispose()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
